package cn.juque.systemservice.entity;

import cn.juque.systemservice.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li></li>
 * </ul>
 * @date 2022-10-27 16:49:06
 **/
@Data
@TableName(value = "SYS_AREA_INFO")
public class AreaInfo extends BaseEntity {

    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 地区编码
     */
    @TableField(value = "AREA_CODE")
    private String areaCode;

    /**
     * 地区名称
     */
    @TableField(value = "AREA_NAME")
    private String areaName;

    /**
     * 父级地区编码
     */
    @TableField(value = "PARENT_AREA_CODE")
    private String parentAreaCode;

    /**
     * 删除标识，1-删除；0-未删除
     */
    @TableField(value = "IS_DELETE")
    private Integer isDelete;

}
